STEP 7: Hm... Our city wouldn't be a city with just one building. Let's make another skyscraper.

  • From drag in Random Integer. Change 1 to -250 and 10 to 250.
  • Rename the variable from my_var to x. This variable will store a new random x-coordinate/
  • Drag in another Random Integer. Change 1 to -250 and 10 to -150. Rename the variable y.
  • Drag in one more Random Integer and change 1 to 50 and 10 to 300. Rename the variable height.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)